package cn.windy.samary.module.admin.common;

/**
 * 取用户完整信息的部分必要信息，作为 Principal
 *
 * @author zyl
 * @date 2018-06-12 12:30
 */
public class UserLine {

    private String id;
    private String nickname;
    private String username;
    private String deptId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return "UserLine{" +
                "id='" + id + '\'' +
                ", nickname='" + nickname + '\'' +
                ", username='" + username + '\'' +
                ", deptId='" + deptId + '\'' +
                '}';
    }
}
